package demo.IoC;

public class Tire {
    private int size;
    private String color;
    public Tire(int size,String color) {
        this.size = size;
        this.color = color;
    }
    public void init() {
        System.out.println("轮毂尺寸："+size+"\n"+"轮毂颜色："+color);
    }
}
